[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Future_date
Purpose Returns the date string by adding a specified number of days to a
start date.
Decln. Future_date(BaseDate:string; Fmt:byte;Days:word):string;
Returns String
Remarks BaseDate is the start date in string form.
Fmt is the date format code of the date. The valid date formats
are declared as constants in the MiscTTT5 unit:
DDMMYY
MMDDYY
MMYY
MMYYYY
DDMMYYYY
MMDDYYYY
Days is the number of days from the BaseDate to the computed
date.
Example
BEGIN
WRITEAT(1,1,14,0,'THE BILL IS DUE
END;
The function computes the date that is 60 days after 07/06/89.
See Also:
Date_Within_Range
Valid_date
Date_to_Julian
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson